﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WikiQuizz.Common.Interfaces;
using WikiQuizz.Common.Entities;
using System.Xml.Linq;
using WikiQuizz.Common.Utils;
using WikiQuizz.Common.Resource;

namespace WikiQuizz.StandardImplementations
{
    public class CategoryManager : ICategoryManager
    {
        public ICollection<CategoryEntity> Categories
        {
            get
            {
                var result = Workbench.DeSerializeFromFile<List<CategoryEntity>>(Strings.CATEGORY_FILE);                

                return result;
            }
        }
    }
}
